package com.java.base.exercise.designmode.observer;

/**
 * @Author RenPu
 * @Date 2022/11/12 20:41
 * @Version 1.0
 * @Description: 被观察者的行为
 **/
public interface Subject {
    //添加观察者对象method
    public void registerObser(Observe observe);

    //移除观察者对象method
    public void removeObser(Observe observe);


    //调用观察者的行为method
    public void notifyObser();

}
